<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>react 练习part02</title>
		<script src="../build/react.js" type="text/javascript" charset="utf-8"></script>
		<script src="../build/react-dom.js" type="text/javascript" charset="utf-8"></script>
		<script src="../build/browser.min.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<div id="app"></div>
		<script type="text/babel">
			var names=['tom','lili','tony']
			ReactDOM.render(
				<div>
					{
						names.map(function(name,index){
							return <div key={index}>Hello , {name}!</div>
						})
					}
				</div>,
				document.getElementById('app')
			);
		</script>
	</body>
</html>
